/*
 * 文件名：MCommentary.java
 * 版权：Copyright 2007-2015 517na Tech. Co. Ltd. All Rights Reserved. 
 * 描述： MCommentary.java
 * 修改人：yanshu
 * 修改时间：2015年12月21日
 * 修改内容：新增
 */
package com.feichuang.chineseWoodCarving.model;

import java.util.Date;

/**
 * TODO 评论MODEL.
 * <p>
 * TODO 详细描述
 * <p>
 * TODO 示例代码
 * 
 * <pre>
 * </pre>
 * 
 * @author yanshu
 */
public class MCommentary {

    /**
     * @主键
     */
    private String keyId;

    /**
     * @贴子Id
     */
    private String postId;

    /**
     * @评论类容
     */
    private String editorialContent;

    /**
     * @评论人Id
     */
    private String editorUserId;

    /**
     * @评论人用户名
     */
    private String editorUserName;

    /**
     * @评论人类型 0:个人，1:企业
     */
    private Integer editorUserType;

    /**
     * @评论人的IP地址
     */
    private String ipAddress;

    /**
     * @逻辑删除标志
     */
    private Integer isDelete;

    /**
     * 添加时间
     */
    private Date addTime;

    /**
     * 
     * 构造函数.
     *
     */
    public MCommentary() {

    }

    public MCommentary(String postId, String editorialContent, String editorUserId, String editorUserName, int editorUserType) {
        this.postId = postId;
        this.editorialContent = editorialContent;
        this.editorUserId = editorUserId;
        this.editorUserName = editorUserName;
        this.editorUserType = editorUserType;
    }

    /**
     * 设置keyId.
     * 
     * @return 返回keyId
     */
    public String getKeyId() {
        return keyId;
    }

    /**
     * 获取keyId.
     * 
     * @param keyId
     *            要设置的keyId
     */
    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    /**
     * 设置postId.
     * 
     * @return 返回postId
     */
    public String getPostId() {
        return postId;
    }

    /**
     * 获取postId.
     * 
     * @param postId
     *            要设置的postId
     */
    public void setPostId(String postId) {
        this.postId = postId;
    }

    /**
     * 设置editorialContent.
     * 
     * @return 返回editorialContent
     */
    public String getEditorialContent() {
        return editorialContent;
    }

    /**
     * 获取editorialContent.
     * 
     * @param editorialContent
     *            要设置的editorialContent
     */
    public void setEditorialContent(String editorialContent) {
        this.editorialContent = editorialContent;
    }

    /**
     * 设置editorUserId.
     * 
     * @return 返回editorUserId
     */
    public String getEditorUserId() {
        return editorUserId;
    }

    /**
     * 获取editorUserId.
     * 
     * @param editorUserId
     *            要设置的editorUserId
     */
    public void setEditorUserId(String editorUserId) {
        this.editorUserId = editorUserId;
    }

    /**
     * 设置editorUserName.
     * 
     * @return 返回editorUserName
     */
    public String getEditorUserName() {
        return editorUserName;
    }

    /**
     * 获取editorUserName.
     * 
     * @param editorUserName
     *            要设置的editorUserName
     */
    public void setEditorUserName(String editorUserName) {
        this.editorUserName = editorUserName;
    }

    /**
     * 设置editorUserType.
     * 
     * @return 返回editorUserType
     */
    public Integer getEditorUserType() {
        return editorUserType;
    }

    /**
     * 获取editorUserType.
     * 
     * @param editorUserType
     *            要设置的editorUserType
     */
    public void setEditorUserType(Integer editorUserType) {
        this.editorUserType = editorUserType;
    }

    /**
     * 设置isDelete.
     * 
     * @return 返回isDelete
     */
    public Integer getIsDelete() {
        return isDelete;
    }

    /**
     * 获取isDelete.
     * 
     * @param isDelete
     *            要设置的isDelete
     */
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 设置ipAddress.
     * 
     * @return 返回ipAddress
     */
    public String getIpAddress() {
        return ipAddress;
    }

    /**
     * 获取ipAddress.
     * 
     * @param ipAddress
     *            要设置的ipAddress
     */
    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    /**
     * 设置addTime.
     * 
     * @return 返回addTime
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 获取addTime.
     * 
     * @param addTime
     *            要设置的addTime
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

}
